<?php

namespace App\Http\Controllers\Admin;

/**
 * 后台主控制器
 * @package App\Http\Controllers\Admin
 */
class IndexController extends BaseController
{
    /**
     * 后台首页
     * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
     */
    public function index()
    {
        return view('admin.index.index', $this->viewData);
    }

    /**
     * 仪表盘
     * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
     */
    public function dashboard()
    {
        return view('admin.index.dashboard', $this->viewData);
    }
    /**
     * 系统信息
     * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
     */
    public function sysinfo()
    {
        return view('admin.index.sysinfo');
    }
}
